package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.*;
import static org.jsola.hr.example.AttendPunchDailyReportExample.N_COMPANY_NAME;
import static org.jsola.hr.example.AttendPunchStaffExample.E_COMPANY_NAME;
import static org.jsola.hr.example.EmpInfoExample.*;

/**
 * 员工校验信息
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【员工信息】详情展示对象")
@Data
public class EmpInfoCheckVO extends EmpInfoVO {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(notes = "是否存在已离职员工")
    private Boolean haveResigned;

    @ApiModelProperty(notes = "是否有权限跳转")
    private Boolean haveAuthority;

    @ApiModelProperty(notes = "是否能继续添加")
    private Boolean canAdd;

    @ApiModelProperty(notes = "原因")
    private String reason;

}

